package com.punch.common.query.user.student;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.punch.common.query.QueryInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author tanchangguo
 * @date 2020/7/22 17:16
 */
@Data
@ApiModel("学生查询")
public class StudentQueryInfo extends QueryInfo {
    @ApiModelProperty("学生姓名")
    private String name;

    private String studentName;

    @ApiModelProperty(value = "区域id")
    private Integer areaId;


    @ApiModelProperty(value = "区域id")
    private Integer currentAreaId;

    @ApiModelProperty(value = "创建用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long createId;

    @ApiModelProperty(value = "年级")
    private Integer gradeYear;

    @ApiModelProperty(value = "班级")
    private String gradeClass;

    private String schoolName;

}
